package com.shop.front.vo.article;

import com.alibaba.fastjson.annotation.JSONField;
import com.shop.jpa.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

@ApiModel("ArticleInfoVo 公告详细信息")
@Data
public class ArticleInfoVo extends BaseDomain implements Serializable {

    @ApiModelProperty(value = "id", hidden = true)
	@Id
    @Column(name = "id")
	@JSONField(serialize=false)
    private Long id;

    /**
     * 标题
     */
    @ApiModelProperty("标题")
    @Column(name = "title")
    private String title;

    /**
	 * 内容
	 */
    @ApiModelProperty("内容")
	@Column(name = "content")
    private String content;


    /**
	 * 时间
	 */
    @ApiModelProperty("下单时间")
	@Column(name = "create_time")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;





}